[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

api[jx8,android.view] implementation

JavaObject buildSubclasses: #(
	ActionProvider	ActionMode
	Choreographer
	Display
	DragEvent
	Gravity
	#(InputEvent KeyEvent MotionEvent)
	MenuInflater
	LayoutInflater
	#(View ViewGroup)
) in: 'android.view' reference: 'https://developer.android.com/reference'!

View buildConstructors: #(
	#(context: #(#(context json)))
	#(context:attrs: #(#(context json) attrs))
	#(context:attrs:defStyleAttr: #(#(context json) attrs defStyleAttr))
	#(context:attrs:defStyleAttr:defStyleRes: #(#(context json) attrs defStyleAttr defStyleRes))
)!
View buildFunctions: #(
	#bringToFront
	#(#setOnClickListener: #(#(anOnClickListener json)))
	#(#showContextMenu:y: #(x y) #Boolean)
)!
View buildBooleanFunctions: #(
	#showContextMenu
	#isShown
)!

ViewGroup buildFunctions: #(
	#dismissPopupMenus
)!

Display buildFunctions: #(
	#getAppVsyncOffsetNanos
	#(#getCurrentSizeRange:outLargestSize: #(#(outSmallestSize json) #(outLargestSize json) ))
	getDisplayId	getFlags	getHeight
	#(#getHdrCapabilities #() HdrCapabilities)
	#(#getMetrics: #(#(outMetrics json)))
	#(#getMode #() Mode)
	getName	getRefreshRate
	#(#getRealMetrics: #(#(outMetrics json)))
	#(#getRealSize: #(#(outSize json)))
	#(#getRectSize: #(#(outSize json)))
	#(#getSize: #(#(outSize json)))
	getRotation	getState
	getSupportedModes	getSupportedRefreshRates
	getWidth
	#(#isValid #() Boolean)
)!

Gravity buildStaticFunctions: #(
	#(#apply:w:h:container:xAdj:yAdj:outRect: #(gravity w h #(aRect json) xAdj yAdj #(outRect json)))
	#(#apply:w:h:container:outRect:layoutDirection: #(gravity w h #(aRect json) #(outRect json) layoutDirection))
	#(#apply:w:h:container:xAdj:yAdj:outRect:layoutDirection: #(gravity w h #(aRect json) xAdj yAdj #(outRect json) layoutDirection))
	#(#apply:w:h:container:outRect: #(gravity w h #(aRect json) #(outRect json)))
	#(#applyDisplay:display:inoutObj: #(gravity #(aRect json) #(inoutObj json)))
	#(#applyDisplay:display:inoutObj:layoutDirection: #(gravity #(aRect json) #(inoutObj json) layoutDirection))
	#(#getAbsoluteGravity:layoutDirection: #(gravity layoutDirection))
	#(#isHorizontal: #(gravity) Boolean)
	#(#isVertical: #(gravity) Boolean)
)!

Choreographer buildStaticFunctions: #(
	#(#getInstance #() Choreographer)
)!
Choreographer buildFunctions: #(
	#(#postFrameCallback: #(#(aFrameCallback json)))
	#(#postFrameCallbackDelayed:delayMillis: #(#(aFrameCallback json) delayMillis))
	#(#removeFrameCallback: #(#(aFrameCallback json)))
)!

ActionProvider buildConstructors: #(
	#(context: #(#(context json)))
)!
ActionProvider buildFunctions: #(
	#(#hasSubMenu #() Boolean)
	#(#isVisible #() Boolean)
	#(#onCreateActionView: #(#(aMenuItem json)) View)
	#(#onPerformDefaultAction #() Boolean)
	#(#onPrepareSubMenu: #(#(subMenu json)))
	#(#overridesItemVisibility #() Boolean)
	refreshVisibility
	#(#setVisibilityListener: #(#(aVisibilityListener json)))
)!

ActionMode buildFunctions: #(
	finish
	#(#getCustomView #() View)
	#(#getMenu #() Menu)
	#(#getMenuInflater #() MenuInflater)
	#(#getSubtitle #() CharSequence)
	#(#getTag #() JavaObject)
	#(#getTitle #() CharSequence)
	#(#getTitleOptionalHint #() Boolean)
	getType
	#(#hide: #(duration))
	invalidate
	invalidateContentRect
	#(#isTitleOptional #() Boolean)
	#(#onWindowFocusChanged: #(hasWindowFocus))
	#(#setCustomView: #(#(view json)))
	#(#setSubtitle: #(#(subtitle json)))
	#(#setTag: #(tag))
	#(#setTitle: #(#(title json)))
	#(#setTitleOptionalHint: #(aBoolean))
	#(#setType: #(type))
)!

DragEvent buildFunctions: #(
	describeContents getAction
	#(#getClipData #() ClipData)
	#(#getClipDescription #() ClipDescription)
	#(#getLocalState #() JavaObject)
	getResult getX getY
	#(#writeToParcel:flags: #(#(aParcel json) flags))
)!

MenuInflater buildConstructors: #(
	#(context: #(#(context json)))
)!
MenuInflater buildFunctions: #(
	#(#inflate:menu: #(menuRes #(aMenu json)))
)!

LayoutInflater buildConstructors: #(
	#(context: #(#(context json)))
	#(original:context: #(#(original json) #(context json)))
)!
LayoutInflater buildFunctions: #(
	#(#cloneInContext: #(#(newContext json)) LayoutInflater)
	#(#createView:prefix:attrs: #(name  prefix #(anAttributeSet json)) View)
	#(#from: #(#(context json)) LayoutInflater)
	#(#getContext #() Context)
	#(#getFactory #() LayoutInflater_Factory)
	#(#getFactory2 #() LayoutInflater_Factory2)
	#(#getFilter #() LayoutInflater_Filter)
	#(#inflate:root: #(#(aXmlPullParser json) #(aViewGroup json)) View)
	#(#inflate:root:attachToRoot: #(#(aXmlPullParser json) #(aViewGroup json) attachToRoot) View)
	#(#setFactory: #(#(factory json)))
	#(#setFactory2: #(#(factory json)))
	#(#setFilter: #(#(filter json)))
)!

InputEvent buildFunctions: #(
	describeContents
	#(#getDevice #() InputDevice)
	getDeviceId getEventTime getSource
	#(#isFromSource: #(source) Boolean)
)!

KeyEvent buildConstructors: #(
	#(action:code: #(action code))
	#(downTime:eventTime:action:code:repeat: #(downTime eventTime action code repeat))
	#(downTime:eventTime:action:code:repeat:metaState: #(downTime eventTime action code repeat metaState))
	#(downTime:eventTime:action:code:repeat:metaState:deviceId: #(downTime eventTime action code repeat metaState deviceId))
	#(downTime:eventTime:action:code:repeat:metaState:deviceId:scancode: #(downTime eventTime action code repeat metaState deviceId scancode))
	#(downTime:eventTime:action:code:repeat:metaState:deviceId:scancode:flags: #(downTime eventTime action code repeat metaState deviceId scancode flags))
	#(downTime:eventTime:action:code:repeat:metaState:deviceId:scancode:flags:source: #(downTime eventTime action code repeat metaState deviceId scancode flags source))
	#(time:characters:deviceId:flags: #(time characters deviceId flags))
	#(from: #(#(source json)))
)!
KeyEvent buildStaticFunctions: #(
	#(#changeAction:action: #(#(aKeyEvent json) action) KeyEvent)
	#(#changeFlags:flags: #(#(aKeyEvent json) flags) KeyEvent)
	#(#changeTimeRepeat:eventTime:newRepeat:flags: #(#(aKeyEvent json) eventTime newRepeat flags) KeyEvent)
	#(#changeTimeRepeat:eventTime:newRepeat: #(#(aKeyEvent json) eventTime newRepeat) KeyEvent)
)!
KeyEvent buildFunctions: #(
	#(#dispatch:state:target: #(#(receiver json) #(state json) #(target json)))
	getAction getCharacters
	#(#getDeadChar:c: #(accent c))
	#(#dispatch: #(#(receiver json)))
	getDeviceId
	getDisplayLabel
	getDownTime
	getEventTime
	getFlags
	#(#getKeyCharacterMap #() KeyCharacterMap)
	getKeyCode
	#(#getMatch:metaState: #(chars metaState) "char")
	#(#getMatch: #(chars) "char")
	getMaxKeyCode getMetaState getModifierMetaStateMask
	getModifiers getNumber getRepeatCount
	getScanCode getSource
	#(#getUnicodeChar: #(metaState))
	getUnicodeChar
	#(#hasModifiers: #(modifiers) Boolean)
	#(#hasNoModifiers #() Boolean)
	#(#isAltPressed #() Boolean)
	#(#isCanceled #() Boolean)
	#(#isCapsLockOn #() Boolean)
	#(#isCtrlPressed #() Boolean)
	#(#isFunctionPressed #() Boolean)
	#(#isGamepadButton: #(keyCode) Boolean)
	#(#isLongPress #() Boolean)
	#(#isMetaPressed #() Boolean)
	#(#isModifierKey: #(keyCode) Boolean)
	#(#isNumLockOn #() Boolean)
	#(#isPrintingKey #() Boolean)
	#(#isScrollLockOn #() Boolean)
	#(#isShiftPressed #() Boolean)
	#(#isSymPressed #() Boolean)
	#(#isSystem #() Boolean)
	#(#isTracking #() Boolean)
	#(#keyCodeFromString: #(symbolicName))
	#(#keyCodeToString: #(keyCode))
	#(#metaStateHasModifiers:modifiers: #(metaState modifiers) Boolean)
	#(#metaStateHasNoModifiers: #(metaState) Boolean)
	#(#normalizeMetaState: #(metaState))
	#(#setSource: #(source))
	startTracking
)!

MotionEvent buildStaticFunctions: #(
	#(#actionToString: #(action))
	#(#axisFromString: #(symbolicName))
	#(#axisToString: #(axis))
	#(#obtain:eventTime:action:x:y:metaState: #(downTime eventTime action x y metaState) MotionEvent)
	#(#obtain:eventTime:action:pointerCount:pointerCoords:metaState:buttonState:xPrecision:yPrecision:deviceId:edgeFlags:source:flags:
		 #(downTime eventTime action pointerCount #(pointerCoords handles) metaState buttonState xPrecision yPrecision deviceId edgeFlags source flags) MotionEvent)
	#(#obtain: #(#(aMotionEvent handle)) MotionEvent)
	#(#obtain:eventTime:action:x:y:pressure:size:metaState:buttonState:xPrecision:yPrecision:deviceId:edgeFlags:
		 #(downTime eventTime action x y pressure size metaState buttonState xPrecision yPrecision deviceId edgeFlags) MotionEvent)
	#(#obtainNoHistory: #(#(aMotionEvent handle)) MotionEvent)
)!
MotionEvent buildFunctions: #(
	#(#addBatch:pointerCoords:metaState: #(eventTime #(pointerCoords handles) metaState))
	#(#addBatch:x:y:pressure:size:metaState: #(eventTime x y pressure size metaState))
	#(#findPointerIndex: #(pointerId))
	getAction
	getActionButton
	getActionIndex
	getActionMasked
	#(#getAxisValue:pointerIndex: #(axis pointerIndex))
	#(#getAxisValue: #(axis))
	getButtonState
	getDeviceId
	getDownTime
	getEdgeFlags
	getEventTime
	getFlags
	#(#getHistoricalAxisValue:pointerIndex:pos: #(axis pointerIndex pos))
	#(#getHistoricalAxisValue:pos: #(axis pos))
	#(#getHistoricalEventTime: #(pos))
	#(#getHistoricalOrientation:pos: #(pointerIndex pos))
	#(#getHistoricalOrientation: #(pos))
	#(#getHistoricalPointerCoords:pos:outPointerCoords: #(pointerIndex pos #(outPointerCoords json)))
	#(#getHistoricalPressure:pos: #(pointerIndex pos))
	#(#getHistoricalPressure: #(pos))
	#(#getHistoricalSize:pos: #(pointerIndex pos))
	#(#getHistoricalSize: #(pos))
	#(#getHistoricalToolMajor:pos: #(pointerIndex pos))
	#(#getHistoricalToolMajor: #(pos))
	#(#getHistoricalToolMinor:pos: #(pointerIndex pos))
	#(#getHistoricalToolMinor: #(pos))
	#(#getHistoricalTouchMajor:pos: #(pointerIndex pos))
	#(#getHistoricalTouchMajor: #(pos))
	#(#getHistoricalTouchMinor:pos: #(pointerIndex pos))
	#(#getHistoricalTouchMinor: #(pos))
	#(#getHistoricalX:pos: #(pointerIndex pos))
	#(#getHistoricalX: #(pos))
	#(#getHistoricalY:pos: #(pointerIndex pos))
	#(#getHistoricalY: #(pos))
	getHistorySize
	getMetaState
	getOrientation
	#(#getOrientation: #(pointerIndex))
	#(#getPointerCoords:outPointerCoords: #(pointerIndex #(outPointerCoords json)))
	getPointerCount
	#(#getPointerId: #(pointerIndex))
	#(#getPointerProperties:outPointerCoords: #(pointerIndex #(outPointerCoords json)))
	#(#getPressure: #(pointerIndex))
	getPressure
	getRawX getRawY
	#(#getSize: #(pointerIndex))
	getSize getSource
	#(#getToolMajor: #(pointerIndex))
	getToolMajor
	#(#getToolMinor: #(pointerIndex))
	getToolMinor
	#(#getToolType: #(pointerIndex))
	#(#getTouchMajor: #(pointerIndex))
	getTouchMajor
	#(#getTouchMinor: #(pointerIndex))
	getTouchMinor
	#(#getX: #(pointerIndex))
	getX getXPrecision
	#(#getY: #(pointerIndex))
	getY getYPrecision
	#(#isButtonPressed: #(button) Boolean)
	#(#offsetLocation:deltaY: #(deltaX deltaY))
	recycle
	#(#setAction: #(action))
	#(#setEdgeFlags: #(flags))
	#(#setLocation:y: #(x y))
	#(#setSource: #(source))
	#(#transform: #(#(matrix json)))
)!