Home
last modified time | relevance | path

Searched refs:mDirection (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoProgressBar.java37 private int mDirection = 0; field in PanoProgressBar
69 if (mDirection != direction) { in setDirection()
70 mDirection = direction; in setDirection()
72 mListener.onDirectionChange(mDirection); in setDirection()
79 return mDirection; in getDirection()
130 if (mDirection == DIRECTION_NONE) { in setProgress()
138 if (mDirection != DIRECTION_NONE) { in setProgress()
142 if (mDirection == DIRECTION_RIGHT) { in setProgress()
146 if (mDirection == DIRECTION_LEFT) { in setProgress()
165 if (mDirection != DIRECTION_NONE) { in onDraw()
[all …]
/packages/apps/Camera2/src/com/android/camera/
DPanoProgressBar.java40 private int mDirection = 0; field in PanoProgressBar
72 if (mDirection != direction) { in setDirection()
73 mDirection = direction; in setDirection()
75 mListener.onDirectionChange(mDirection); in setDirection()
82 return mDirection; in getDirection()
135 if (mDirection == DIRECTION_NONE) { in setProgress()
143 if (mDirection != DIRECTION_NONE) { in setProgress()
147 if (mDirection == DIRECTION_RIGHT) { in setProgress()
151 if (mDirection == DIRECTION_LEFT) { in setProgress()
170 if (mDirection != DIRECTION_NONE) { in onDraw()
[all …]
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/
DRtpConfig.java75 private @MediaDirection int mDirection; field in RtpConfig
94 mDirection = in.readInt(); in RtpConfig()
110 mDirection = builder.mDirection; in RtpConfig()
137 return mDirection; in getMediaDirection()
140 public void setMediaDirection(final @MediaDirection int mDirection) { in setMediaDirection() argument
141 this.mDirection = mDirection; in setMediaDirection()
219 return "RtpConfig: {mDirection=" + mDirection in toString()
234 return Objects.hash(mDirection, mAccessNetwork, mRemoteRtpAddress, mRtcpConfig, in hashCode()
251 return (mDirection == s.mDirection in equals()
278 dest.writeInt(mDirection); in writeToParcel()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DQosPolicyParams.java231 private final @Direction int mDirection; field in QosPolicyParams
256 this.mDirection = direction; in QosPolicyParams()
295 if (!(mDirection == DIRECTION_UPLINK || mDirection == DIRECTION_DOWNLINK)) { in validate()
296 Log.e(TAG, "Invalid direction enum: " + mDirection); in validate()
330 if (mDirection == DIRECTION_UPLINK) { in validate()
503 return mDirection; in getDirection()
558 && mDirection == that.mDirection in equals()
567 mProtocol, Arrays.hashCode(mDstPortRange), mDirection, mIpVersion, mDstPort, in hashCode()
582 + "direction=" + mDirection + ", " in toString()
615 dest.writeInt(mDirection); in writeToParcel()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DInterruptibleInOutAnimator.java66 @Thunk int mDirection = STOPPED; field in InterruptibleInOutAnimator
77 mDirection = STOPPED; in InterruptibleInOutAnimator()
92 mDirection = direction; in animate()
105 mDirection = STOPPED; in cancel()
110 mDirection = STOPPED; in end()
117 return mDirection == STOPPED; in isStopped()
/packages/apps/Contacts/src/com/android/contacts/widget/
DProportionalLayout.java63 private Direction mDirection; field in ProportionalLayout
83 mDirection = Direction.parse(a.getString(R.styleable.ProportionalLayout_direction)); in initFromAttributes()
104 if (mDirection == Direction.heightToWidth) { in onMeasure()
132 return mDirection; in getDirection()
136 mDirection = direction; in setDirection()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppShareInfo.java53 public int mDirection; field in BluetoothOppShareInfo
91 mDirection = direction; in BluetoothOppShareInfo()
107 if (mDirection == BluetoothShare.DIRECTION_OUTBOUND) { in isReadyToStart()
111 } else if (mDirection == BluetoothShare.DIRECTION_INBOUND) { in isReadyToStart()
DBluetoothOppBatch.java68 public final int mDirection; field in BluetoothOppBatch
107 mDirection = info.mDirection; in BluetoothOppBatch()
142 if (info.mDirection == BluetoothShare.DIRECTION_INBOUND && info.mUri != null) { in cancelBatch()
DBluetoothOppTransfer.java306 if (mBatch.mDirection == BluetoothShare.DIRECTION_OUTBOUND) { in handleMessage()
367 if (mBatch.mDirection == BluetoothShare.DIRECTION_OUTBOUND) { in handleMessage()
399 if (mBatch.mDirection == BluetoothShare.DIRECTION_OUTBOUND) { in handleMessage()
467 if (mCurrentShare.mDirection == BluetoothShare.DIRECTION_INBOUND in markBatchFailed()
486 if (info.mDirection == BluetoothShare.DIRECTION_OUTBOUND) { in markBatchFailed()
559 if (mBatch.mDirection == BluetoothShare.DIRECTION_OUTBOUND) { in start()
562 } else if (mBatch.mDirection == BluetoothShare.DIRECTION_INBOUND) { in start()
628 if (mBatch.mDirection == BluetoothShare.DIRECTION_OUTBOUND) { in startObexSession()
631 } else if (mBatch.mDirection == BluetoothShare.DIRECTION_INBOUND) { in startObexSession()
940 updateValues.put(BluetoothShare.DIRECTION, share.mDirection); in tickShareStatus()
[all …]
DBluetoothOppReceiver.java150 if (transInfo.mDirection == BluetoothShare.DIRECTION_INBOUND in onReceive()
272 if (transInfo.mDirection == BluetoothShare.DIRECTION_INBOUND) { in onReceive()
305 if (transInfo.mDirection == BluetoothShare.DIRECTION_OUTBOUND) { in onReceive()
307 } else if (transInfo.mDirection == BluetoothShare.DIRECTION_INBOUND) { in onReceive()
313 if (transInfo.mDirection == BluetoothShare.DIRECTION_OUTBOUND) { in onReceive()
316 } else if (transInfo.mDirection == BluetoothShare.DIRECTION_INBOUND) { in onReceive()
DBluetoothOppService.java315 String dir = info.mDirection == BluetoothShare.DIRECTION_OUTBOUND ? " -> " : " <- "; in dump()
874 Log.v(TAG, "DIRECTION: " + info.mDirection); in insertShare()
901 if (info.mDirection == BluetoothShare.DIRECTION_OUTBOUND) { in insertShare()
923 if (info.mDirection == BluetoothShare.DIRECTION_OUTBOUND) { in insertShare()
931 } else if (info.mDirection == BluetoothShare.DIRECTION_INBOUND) { in insertShare()
942 if (info.mDirection == BluetoothShare.DIRECTION_OUTBOUND && mTransfer != null) { in insertShare()
950 } else if (info.mDirection == BluetoothShare.DIRECTION_INBOUND in insertShare()
1004 info.mDirection = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.DIRECTION)); in updateShare()
1059 if (batch.mDirection == BluetoothShare.DIRECTION_OUTBOUND) { in updateShare()
1189 if (nextBatch.mDirection == BluetoothShare.DIRECTION_OUTBOUND) { in removeBatch()
[all …]
DBluetoothOppTransferInfo.java42 int mDirection; field in BluetoothOppTransferInfo
DBluetoothOppTransferHistory.java344 if (transInfo.mDirection == BluetoothShare.DIRECTION_INBOUND in openCompleteTransfer()
DBluetoothOppTransferActivity.java181 int direction = mTransInfo.mDirection; in displayWhichDialog()
/packages/apps/TV/src/com/android/tv/ui/
DOnRepeatedKeyInterceptListener.java37 private int mDirection; field in OnRepeatedKeyInterceptListener
62 mDirection = in onInterceptKeyEvent()
100 View v = focused.focusSearch(listener.mDirection); in handleMessage()
102 v.requestFocus(listener.mDirection); in handleMessage()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetClccResponse.java28 int mDirection; field in HeadsetClccResponse
59 mDirection = direction; in HeadsetClccResponse()
76 .append(mDirection) in buildString()
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DGenericOneCameraImpl.java66 private final Facing mDirection; field in GenericOneCameraImpl
79 mDirection = direction; in GenericOneCameraImpl()
173 return mDirection; in getDirection()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppShareInfoTest.java74 assertThat(mBluetoothOppShareInfo.mDirection).isEqualTo(direction); in testConstructor()
89 mBluetoothOppShareInfo.mDirection = BluetoothShare.DIRECTION_OUTBOUND; in testReadyToStart()
DBluetoothOppBatchTest.java70 assertThat(mBluetoothOppBatch.mDirection).isEqualTo(mInitShareInfo.mDirection); in constructor_instanceCreatedCorrectly()
DBluetoothOppTransferTest.java73 private final int mDirection = BluetoothShare.DIRECTION_INBOUND; field in BluetoothOppTransferTest
120 mDirection, in setUp()
330 mDirection, in eventHandler_handleMessage_MSG_CONNECT_TIMEOUT()
DBluetoothOppUtilityTest.java319 assertThat(info.mDirection).isEqualTo(directionValue); in fillRecord_filledAllProperties()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioService.java236 mDirection = AUDIO_DIRECTION_NONE; in LeAudioGroupDescriptor()
249 Integer mDirection; field in LeAudioService.LeAudioGroupDescriptor
337 mDirection = AUDIO_DIRECTION_NONE; in LeAudioDeviceDescriptor()
345 public Integer mDirection; field in LeAudioService.LeAudioDeviceDescriptor
560 descriptor.mDirection, in stop()
2489 groupId, AUDIO_DIRECTION_NONE, descriptor.mDirection, true, false, false)) { in handleGroupTransitToActive()
2564 descriptor.mDirection, in handleGroupTransitToInactive()
3121 groupId, descriptor.mDirection, direction, true, false, false)) { in messageFromNative()
3139 descriptor.mDirection = direction; in messageFromNative()
3571 descriptor.mDirection = AUDIO_DIRECTION_NONE; in bondStateChanged()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetClccResponseTest.java51 assertThat(response.mDirection).isEqualTo(TEST_DIRECTION); in constructor()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateView.java59 private int mDirection = DOWN; field in StateView
146 if (mDirection == DOWN) { in onDraw()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraZslImpl.java160 private final CameraDirectionProvider mDirection; field in OneCameraZslImpl
301 mDirection = new CameraDirectionProvider(mCharacteristics); in OneCameraZslImpl()
607 return mDirection.getDirection(); in getDirection()

12